﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartSpace.Workflow
{
    public class EventMetadata
    {
        public Guid Id { get; set; }

        public string Caption { get; set; }

        public ActivityMetadata FormActivity { get; set; }
        public Guid FormActivityId { get; set; }

        /// <summary>
        /// 事件到达的activity
        /// </summary>
        public ActivityMetadata ToActivity { get; set; }
        public Guid ToActivityId { get; set; }

        public int OrderIndex { get; set; }

        public EventType Type { get; set; }
        public Guid TypeId { get; set; }

        public List<EventRight> Rights { get; set; }
    }
}
